
function PrePage(){
	
	var $url = document.location.toString();
	
	var $page = $url.slice(-1);
	
	if($page <= 1) {
		alert('已经是首页了');
		return;
	}
	var $pageNum = parseInt($page) - 1;
	
	window.location.href='/overview/display?page=' + $pageNum;
	
}


function NextPage(){
	
	var $url = document.location.toString();
	
	var $page = $url.slice(-1);
	
	if($page >= 8) {
		alert('已经是末页');
		return;
	}
	
	var $pageNum = parseInt($page) + 1;
	
	window.location.href='/overview/display?page=' + $pageNum;
	
}